<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=0.4"/>
<meta name="google" content="notranslate" />
<link rel="canonical" href="https://sleef.org/cuda.xhtml" />
<link rel="icon" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="texlike.css"/>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Ubuntu" />
<link rel="stylesheet" type="text/css" href="sleef.css"/>
<title>SLEEF - Math library reference (CUDA)</title>
</head>
<body translate="no" class="notranslate">
<h1>SLEEF - Math library reference (CUDA)</h1>

<h2>Table of contents</h2>

<ul class="none" style="font-family: arial, sansserif; padding-left: 0.5cm;">
  <li><a class="underlined" href="index.xhtml">Introduction</a></li>
  <li><a class="underlined" href="compile.xhtml">Compiling and installing the library</a></li>
  <li>&nbsp;</li>
  <li><a class="underlined" href="purec.xhtml">Math library reference</a>
  <ul class="disc">
    <li><a class="underlined" href="purec.xhtml">Data types and functions for all architectures</a></li>
    <li><a class="underlined" href="x86.xhtml">Data types and functions for x86 architecture</a></li>
    <li><a class="underlined" href="aarch64.xhtml">Data types and functions for AArch64 architecture</a></li>
    <li><a class="underlined" href="ppc64.xhtml">Data types and functions for PPC64 architecture</a></li>
    <li><a class="underlined" href="s390x.xhtml">Data types and functions for System/390 architecture</a></li>
    <li><a class="underlined" href="cuda.xhtml">Data types and functions for CUDA</a></li>
    <ul class="circle">
      <li><a href="#tutorial">Tutorial</a></li>
      <li><a href="#trig">Trigonometric functions</a></li>
      <li><a href="#pow">Power, exponential, and logarithmic functions</a></li>
      <li><a href="#invtrig">Inverse trigonometric functions</a></li>
      <li><a href="#hyp">Hyperbolic functions and inverse hyperbolic functions</a></li>
      <li><a href="#eg">Error and gamma functions</a></li>
      <li><a href="#nearint">Nearest integer functions</a></li>
      <li><a href="#other">Other functions</a></li>
    </ul>
  </ul>
  </li>
  <li>&nbsp;</li>
  <li><a class="underlined" href="quad.xhtml"> Quad-precision math library reference</a></li>
  <li><a class="underlined" href="dft.xhtml">DFT library reference</a>
  <li><a class="underlined" href="misc.xhtml">Other tools included in the package</a></li>
  <li><a class="underlined" href="benchmark.xhtml">Benchmark results</a></li>
  <li><a class="underlined" href="additional.xhtml">Additional notes</a></li>
  </li>
</ul>

<h2 id="tutorial">Tutorial</h2>

<p class="noindent">
  The CUDA functions in SLEEF are provided as an <a class="underlined"
  href="additional.xhtml#inline">inlinable include file</a>. Below is
  a <a class="underlined" href="hellocuda.cu">test code</a> for the
  CUDA functions.
</p>

<pre class="code">
<code>#include &lt;iostream&gt;</code>
<code>#include &lt;math.h&gt;</code>
<code></code>
<code>#include "sleefinline_cuda.h"</code>
<code></code>
<code>// Based on the tutorial code at https://developer.nvidia.com/blog/even-easier-introduction-cuda/</code>
<code></code>
<code>__global__ void pow_gpu(int n, double *r, double *x, double *y)</code>
<code>{</code>
<code>  int index = threadIdx.x, stride = blockDim.x;</code>
<code></code>
<code>  for (int i = index; i &lt; n; i += stride)</code>
<code>    r[i] = Sleef_powd1_u10cuda(x[i], y[i]);</code>
<code>}</code>
<code></code>
<code>int main(void)</code>
<code>{</code>
<code>  int N = 1 &lt;&lt; 20;</code>
<code></code>
<code>  double *r, *x, *y;</code>
<code>  cudaMallocManaged(&amp;r, N*sizeof(double));</code>
<code>  cudaMallocManaged(&amp;x, N*sizeof(double));</code>
<code>  cudaMallocManaged(&amp;y, N*sizeof(double));</code>
<code></code>
<code>  for (int i = 0; i &lt; N; i++) {</code>
<code>    r[i] = 0.0;</code>
<code>    x[i] = 1.00001;</code>
<code>    y[i] = i;</code>
<code>  }</code>
<code></code>
<code>  pow_gpu&lt;&lt;&lt;1, 256&gt;&gt;&gt;(N, r, x, y);</code>
<code></code>
<code>  cudaDeviceSynchronize();</code>
<code></code>
<code>  double maxError = 0.0f;</code>
<code>  for (int i = 0; i &lt; N; i++)</code>
<code>    maxError = fmax(maxError, fabs(r[i]-pow(x[i], y[i])));</code>
<code>  std::cout &lt;&lt; "Max error: " &lt;&lt; maxError &lt;&lt; std::endl;</code>
<code></code>
<code>  cudaFree(y);</code>
<code>  cudaFree(x);</code>
<code>  cudaFree(r);</code>
<code>  </code>
<code>  return 0;</code>
<code>}</code>
</pre>
<p style="text-align:center;">
  <a class="underlined" href="hellocuda.cu">Source code for testing CUDA functions</a>
</p>


<h2 id="trig">Trigonometric Functions</h2>

<p class="funcname">Vectorized double precision sine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sind1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sin_u10"><b class="func">Sleef_sin_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision sine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sinf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinf_u10"><b class="func">Sleef_sinf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision sine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sind1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sin_u35"><b class="func">Sleef_sin_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision sine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sinf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinf_u35"><b class="func">Sleef_sinf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision cosine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_cosd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cos_u10"><b class="func">Sleef_cos_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision cosine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_cosf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cosf_u10"><b class="func">Sleef_cosf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_cosd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cos_u35"><b class="func">Sleef_cos_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_cosf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cosf_u35"><b class="func">Sleef_cosf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision combined sine and cosine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double2</b> <b class="func">Sleef_sincosd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincos_u10"><b class="func">Sleef_sincos_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision combined sine and cosine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float2</b> <b class="func">Sleef_sincosf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincosf_u10"><b class="func">Sleef_sincosf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision combined sine and cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double2</b> <b class="func">Sleef_sincosd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincos_u35"><b class="func">Sleef_sincos_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision combined sine and cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float2</b> <b class="func">Sleef_sincosf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincosf_u35"><b class="func">Sleef_sincosf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision sine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sinpid1_u05cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinpi_u05"><b class="func">Sleef_sinpi_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision sine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sinpif1_u05cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinpif_u05"><b class="func">Sleef_sinpif_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision cosine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_cospid1_u05cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cospi_u05"><b class="func">Sleef_cospi_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision cosine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_cospif1_u05cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cospif_u05"><b class="func">Sleef_cospif_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision combined sine and cosine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double2</b> <b class="func">Sleef_sincospid1_u05cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincospi_u05"><b class="func">Sleef_sincospi_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision combined sine and cosine function with 0.506 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float2</b> <b class="func">Sleef_sincospif1_u05cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincospif_u05"><b class="func">Sleef_sincospif_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision combined sine and cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double2</b> <b class="func">Sleef_sincospid1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincospi_u35"><b class="func">Sleef_sincospi_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision combined sine and cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float2</b> <b class="func">Sleef_sincospif1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sincospif_u35"><b class="func">Sleef_sincospif_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision tangent function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_tand1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tan_u10"><b class="func">Sleef_tan_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision tangent function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_tanf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanf_u10"><b class="func">Sleef_tanf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision tangent function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_tand1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tan_u35"><b class="func">Sleef_tan_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision tangent function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_tanf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanf_u35"><b class="func">Sleef_tanf_u35</b></a> with the same accuracy specification.
</p>

<h2 id="pow">Power, exponential, and logarithmic function</h2>

<p class="funcname">Vectorized double precision power function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_powd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_pow_u10"><b class="func">Sleef_pow_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision power function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_powf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_powf_u10"><b class="func">Sleef_powf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision natural logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_logd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log_u10"><b class="func">Sleef_log_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision natural logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_logf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_logf_u10"><b class="func">Sleef_logf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision natural logarithmic function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_logd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log_u35"><b class="func">Sleef_log_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision natural logarithmic function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_logf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_logf_u35"><b class="func">Sleef_logf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-10 logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_log10d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log10_u10"><b class="func">Sleef_log10_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-10 logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_log10f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log10f_u10"><b class="func">Sleef_log10f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-2 logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_log2d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log2_u10"><b class="func">Sleef_log2_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-2 logarithmic function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_log2f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log2f_u10"><b class="func">Sleef_log2f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision logarithm of one plus argument with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_log1pd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log1p_u10"><b class="func">Sleef_log1p_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision logarithm of one plus argument with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_log1pf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_log1pf_u10"><b class="func">Sleef_log1pf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-<i>e</i> exponential function function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_expd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_exp_u10"><b class="func">Sleef_exp_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-<i>e</i> exponential function function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_expf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_expf_u10"><b class="func">Sleef_expf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-<i>2</i> exponential function function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_exp2d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_exp2_u10"><b class="func">Sleef_exp2_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-<i>2</i> exponential function function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_exp2f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_exp2f_u10"><b class="func">Sleef_exp2f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-10 exponential function function with 1.09 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_exp10d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_exp10_u10"><b class="func">Sleef_exp10_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-10 exponential function function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_exp10f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_exp10f_u10"><b class="func">Sleef_exp10f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision base-<i>e</i> exponential function minus 1 with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_expm1d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_expm1_u10"><b class="func">Sleef_expm1_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision base-<i>e</i> exponential function minus 1 with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_expm1f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_expm1f_u10"><b class="func">Sleef_expm1f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision square root function with 0.5001 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sqrtd1_u05cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sqrt_u05"><b class="func">Sleef_sqrt_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision square root function with 0.5001 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sqrtf1_u05cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sqrtf_u05"><b class="func">Sleef_sqrtf_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision square root function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sqrtd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sqrt_u35"><b class="func">Sleef_sqrt_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision square root function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sqrtf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sqrtf_u35"><b class="func">Sleef_sqrtf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision cubic root function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_cbrtd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cbrt_u10"><b class="func">Sleef_cbrt_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision cubic root function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_cbrtf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cbrtf_u10"><b class="func">Sleef_cbrtf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision cubic root function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_cbrtd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cbrt_u35"><b class="func">Sleef_cbrt_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision cubic root function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_cbrtf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cbrtf_u35"><b class="func">Sleef_cbrtf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision 2D Euclidian distance function with 0.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_hypotd1_u05cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_hypot_u05"><b class="func">Sleef_hypot_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision 2D Euclidian distance function with 0.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_hypotf1_u05cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_hypotf_u05"><b class="func">Sleef_hypotf_u05</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision 2D Euclidian distance function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_hypotd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_hypot_u35"><b class="func">Sleef_hypot_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision 2D Euclidian distance function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_hypotf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_hypotf_u35"><b class="func">Sleef_hypotf_u35</b></a> with the same accuracy specification.
</p>


<h2 id="invtrig">Inverse Trigonometric Functions</h2>

<p class="funcname">Vectorized double precision arc sine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_asind1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asin_u10"><b class="func">Sleef_asin_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc sine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_asinf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asinf_u10"><b class="func">Sleef_asinf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc sine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_asind1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asin_u35"><b class="func">Sleef_asin_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc sine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_asinf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asinf_u35"><b class="func">Sleef_asinf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc cosine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_acosd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acos_u10"><b class="func">Sleef_acos_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc cosine function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_acosf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acosf_u10"><b class="func">Sleef_acosf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_acosd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acos_u35"><b class="func">Sleef_acos_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc cosine function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_acosf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acosf_u35"><b class="func">Sleef_acosf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc tangent function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_atand1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan_u10"><b class="func">Sleef_atan_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc tangent function with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_atanf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atanf_u10"><b class="func">Sleef_atanf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc tangent function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_atand1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan_u35"><b class="func">Sleef_atan_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc tangent function with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_atanf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atanf_u35"><b class="func">Sleef_atanf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc tangent function of two variables with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_atan2d1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan2_u10"><b class="func">Sleef_atan2_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc tangent function of two variables with 1.0 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_atan2f1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan2f_u10"><b class="func">Sleef_atan2f_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision arc tangent function of two variables with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_atan2d1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan2_u35"><b class="func">Sleef_atan2_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision arc tangent function of two variables with 3.5 ULP error bound</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_atan2f1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atan2f_u35"><b class="func">Sleef_atan2f_u35</b></a> with the same accuracy specification.
</p>



<h2 id="hyp">Hyperbolic function and inverse hyperbolic function</h2>

<p class="funcname">Vectorized double precision hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sinhd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinh_u10"><b class="func">Sleef_sinh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sinhf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinhf_u10"><b class="func">Sleef_sinhf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_sinhd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinh_u35"><b class="func">Sleef_sinh_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_sinhf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_sinhf_u35"><b class="func">Sleef_sinhf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_coshd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cosh_u10"><b class="func">Sleef_cosh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_coshf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_coshf_u10"><b class="func">Sleef_coshf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_coshd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_cosh_u35"><b class="func">Sleef_cosh_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_coshf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_coshf_u35"><b class="func">Sleef_coshf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_tanhd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanh_u10"><b class="func">Sleef_tanh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_tanhf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanhf_u10"><b class="func">Sleef_tanhf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_tanhd1_u35cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanh_u35"><b class="func">Sleef_tanh_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_tanhf1_u35cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tanhf_u35"><b class="func">Sleef_tanhf_u35</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision inverse hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_asinhd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asinh_u10"><b class="func">Sleef_asinh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision inverse hyperbolic sine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_asinhf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_asinhf_u10"><b class="func">Sleef_asinhf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision inverse hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_acoshd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acosh_u10"><b class="func">Sleef_acosh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision inverse hyperbolic cosine function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_acoshf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_acoshf_u10"><b class="func">Sleef_acoshf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision inverse hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_atanhd1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atanh_u10"><b class="func">Sleef_atanh_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision inverse hyperbolic tangent function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_atanhf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_atanhf_u10"><b class="func">Sleef_atanhf_u10</b></a> with the same accuracy specification.
</p>


<h2 id="eg">Error and gamma function</h2>

<p class="funcname">Vectorized double precision error function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_erfd1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_erf_u10"><b class="func">Sleef_erf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision error function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_erff1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_erff_u10"><b class="func">Sleef_erff_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision complementary error function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_erfcd1_u15cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_erfc_u15"><b class="func">Sleef_erfc_u15</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision complementary error function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_erfcf1_u15cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_erfcf_u15"><b class="func">Sleef_erfcf_u15</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision gamma function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_tgammad1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tgamma_u10"><b class="func">Sleef_tgamma_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision gamma function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_tgammaf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_tgammaf_u10"><b class="func">Sleef_tgammaf_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision log gamma function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_lgammad1_u10cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_lgamma_u10"><b class="func">Sleef_lgamma_u10</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision log gamma function</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_lgammaf1_u10cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_lgammaf_u10"><b class="func">Sleef_lgammaf_u10</b></a> with the same accuracy specification.
</p>


<h2 id="nearint">Nearest integer function</h2>

<p class="funcname">Vectorized double precision function for rounding to integer towards zero</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_truncd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_trunc"><b class="func">Sleef_trunc</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for rounding to integer towards zero</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_truncf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_truncf"><b class="func">Sleef_truncf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for rounding to integer towards negative infinity</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_floord1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_floor"><b class="func">Sleef_floor</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for rounding to integer towards negative infinity</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_floorf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_floorf"><b class="func">Sleef_floorf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for rounding to integer towards positive infinity</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_ceild1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_ceil"><b class="func">Sleef_ceil</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for rounding to integer towards positive infinity</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_ceilf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_ceilf"><b class="func">Sleef_ceilf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for rounding to nearest integer</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_roundd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_round"><b class="func">Sleef_round</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for rounding to nearest integer</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_roundf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_roundf"><b class="func">Sleef_roundf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for rounding to nearest integer</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_rintd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_rint"><b class="func">Sleef_rint</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for rounding to nearest integer</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_rintf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_rintf"><b class="func">Sleef_rintf</b></a> with the same accuracy specification.
</p>


<h2 id="other">Other function</h2>

<p class="funcname">Vectorized double precision function for fused multiply-accumulation</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fmad1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>, <b class="type">double</b> <i class="var">c</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fma"><b class="func">Sleef_fma</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for fused multiply-accumulation</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fmaf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>, <b class="type">float</b> <i class="var">c</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmaf"><b class="func">Sleef_fmaf</b></a> with the same accuracy specification.
</p>

<hr/>

<p class="funcname">Vectorized double precision FP remainder</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fmodd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmod"><b class="func">Sleef_fmod</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision FP remainder</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fmodf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmodf"><b class="func">Sleef_fmodf</b></a> with the same accuracy specification.
</p>

<hr/>

<p class="funcname">Vectorized double precision FP remainder</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_remainderd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_remainder"><b class="func">Sleef_remainder</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision FP remainder</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_remainderf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_remainderf"><b class="func">Sleef_remainderf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for multiplying by integral power of 2</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_ldexpd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">int32x2_t</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_ldexp"><b class="func">Sleef_ldexp</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for obtaining fractional component of an FP number</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_frfrexpd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_frfrexp"><b class="func">Sleef_frfrexp</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for obtaining fractional component of an FP number</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_frfrexpf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_frfrexpf"><b class="func">Sleef_frfrexpf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for obtaining integral component of an FP number</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">int32x2_t</b> <b class="func">Sleef_expfrexpd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_expfrexp"><b class="func">Sleef_expfrexp</b></a> with the same accuracy specification.
</p>

<hr/>

<p class="funcname">Vectorized double precision function for getting integer exponent</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">int32x2_t</b> <b class="func">Sleef_ilogbd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_ilogb"><b class="func">Sleef_ilogb</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision signed integral and fractional values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">Sleef_double_2</b> <b class="func">Sleef_modfd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_modf"><b class="func">Sleef_modf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision signed integral and fractional values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">Sleef_float_2</b> <b class="func">Sleef_modff1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_modff"><b class="func">Sleef_modff</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for calculating the absolute value</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fabsd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fabs"><b class="func">Sleef_fabs</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for calculating the absolute value</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fabsf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fabsf"><b class="func">Sleef_fabsf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for copying signs</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_copysignd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_copysign"><b class="func">Sleef_copysign</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for copying signs</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_copysignf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_copysignf"><b class="func">Sleef_copysignf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for determining maximum of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fmaxd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmax"><b class="func">Sleef_fmax</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for determining maximum of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fmaxf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmaxf"><b class="func">Sleef_fmaxf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for determining minimum of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fmind1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fmin"><b class="func">Sleef_fmin</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for determining minimum of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fminf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fminf"><b class="func">Sleef_fminf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function to calculate positive difference of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_fdimd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fdim"><b class="func">Sleef_fdim</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function to calculate positive difference of two values</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_fdimf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_fdimf"><b class="func">Sleef_fdimf</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized double precision function for obtaining the next representable FP value</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">double</b> <b class="func">Sleef_nextafterd1_cuda</b>(<b class="type">double</b> <i class="var">a</i>, <b class="type">double</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_nextafter"><b class="func">Sleef_nextafter</b></a> with the same accuracy specification.
</p>

<hr/>
<p class="funcname">Vectorized single precision function for obtaining the next representable FP value</p>

<p class="header">Synopsis</p>

<p class="synopsis">
#include &lt;sleefinline_cuda.h&gt;<br/>
<br/>
<b>__device__</b> <b class="type">float</b> <b class="func">Sleef_nextafterf1_cuda</b>(<b class="type">float</b> <i class="var">a</i>, <b class="type">float</b> <i class="var">b</i>);<br/>
</p>

<p class="header">Description</p>

<p class="noindent">
This is the CUDA function of <a href="purec.xhtml#Sleef_nextafterf"><b class="func">Sleef_nextafterf</b></a> with the same accuracy specification.
</p>

<p class="footer">
  Copyright &copy; 2010-2025 SLEEF Project, Naoki Shibata and contributors.<br/>
  SLEEF is open-source software and is distributed under the Boost Software License, Version 1.0.
</p>

<script type="text/javascript">
var sc_project=13098265; 
var sc_invisible=1; 
var sc_security="518de45e"; 
</script>
<script type="text/javascript"
src="https://www.statcounter.com/counter/counter.js"
async="async"></script>
<noscript><div class="statcounter"><a title="Web Analytics"
href="https://statcounter.com/" target="_blank"><img
class="statcounter"
src="https://c.statcounter.com/13098265/0/518de45e/1/"
alt="Web Analytics"
referrerPolicy="no-referrer-when-downgrade"></img></a></div></noscript>


</body>
</html>
